package Web.Demo13;

import Web.Demo14.Loignservice;

import java.util.Scanner;

public class Loignweb {
    public static void main(String[] args) {
//创建输出对象
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入用户名：");
        String username = scanner.next();
        System.out.println("请输入密码：");
        String password = scanner.next();
        //将控制台输出内容传递给server
        Loignservice loignservice = new Loignservice();
        //再创建一个service的登录方法
        loignservice.login(username,password);
    }
}
